
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(SysArea))]
    public class SysAreaDto : Dto
    {
        /// <summary>
        /// 父级ID
        /// </summary>
        public Guid? ParentId { get; set; }
        /// <summary>
        /// 区域代码
        /// </summary>
        public String Code { get; set; }
        /// <summary>
        /// 区域名称
        /// </summary>
        public String Name { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }
        public int? Sort { get; set; }
        /// <summary>
        /// 隶属工厂
        /// </summary>
        public Guid? SubFactory { get; set; }
        public String Type { get; set; }
        public int? Arc_R { get; set; }
        public List<SysAreaPointDto> SysAreaPoint { get; set; }

        /// <summary>
        /// 负责岗位ID
        /// </summary>
        public Guid? LeadDutyID { get; set; }
        /// <summary>
        /// 区域对应的部门id
        /// 说明：数据库字段不知道谁加的，实体没加，所以我加一下
        /// </summary>
        public Guid? SysDepartmentID { get; set; }
    }
}
